// 改flexible.js文件给屏幕划分了20份    
// font-size = 37.5
body {
    // position: relative;
    max-width: 750px;
    min-width: 320px;
    margin: 0 auto;
    width: 20rem;
    // height: 2200.0012px;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f2f2f2;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

@media screen and (min-width: 750px) {
    html {
        font-size: 37.5px !important;
    }

}

.warp {
    background-color: #fff;
}

.header {

    height: 2.1333rem;
    border-bottom: 1px solid #eaeaea;
    font-size: .9333rem;
    color: #1c1c1c;
    text-align: center;
    line-height: 2.1333rem;
}

.nav {

    display: flex;
    // 显示不开就换行
    flex-wrap: wrap;
    margin-top: .9333rem;

    a {
        width: 33.33%;
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: .6667rem;
        color: #707070;

        img {
            width: 3.7067rem;
            height: 3.7067rem;

        }

        &:nth-child(-n+3) {
            margin-bottom: 1.44rem;
        }
    }

}

.go {

    padding: 1.6rem .48rem 1.1467rem;
}

.content {

    padding: 1.0667rem .64rem;
    background-color: #fff;
    margin-top: .2667rem;
    // margin: 1.3333rem .64rem 1.0667rem;


    .con_hd {
        position: relative;
        margin-bottom: 1.04rem;

        img {
            width: 1.0133rem;
            height: 1.0133rem;
        }

        h3 {
            position: absolute;
            top: 0;
            left: 1.4933rem;
            font-size: .7467rem;
            color: #333333;
            margin: 0;
            padding-top: .1333rem;
        }

        .more {
            position: absolute;
            top: 0;
            right: 0;
            font-size: .5867rem;
            color: #999;
            padding-top: .1867rem;
        }
    }

}

.con_bd {
    position: relative;

    .swiper-container {
        // width: 100%;
        // 根据需求把宽度定位540px
        width: 14.4rem;
        height: 100%;
    }

    .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;
        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        // 竖向显示
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
        transition: 300ms;
        // 其余兄弟是 0.8
        transform: scale(0.8);
        opacity: 0.4;

        a {
            width: 9.0133rem;
            height: 10.0267rem;

            img {
                width: 100%;
                height: 100%;
            }
        }

        p {
            font-size: .6667rem;
            color: #333;
            white-space: nowrap;
            margin-top: .64rem;
        }
    }

    // 当前选中的 slider 中间那个
    .swiper-slide-active,
    .swiper-slide-duplicate-active {
        z-index: 999;
        transform: scale(1);
        opacity: 1;
    }
}

.study_con {
    padding-bottom: 3.7333rem;
}

// 学习模块轮播图
.study {
    .swiper {
        width: 100%;
        height: 100%;
        padding: .2667rem;
    }

    .swiper-slide {
        // text-align: center;
        width: 7.7333rem;
        height: 9.0667rem;
        // background-color: pink;
        font-size: 18px;
        background: #fff;
        border-radius: .2667rem;
        box-shadow: 0 0 10.0012px rgba(0, 0, 0, 0.1);
        /* Center slide text vertically */
        // display: -webkit-box;
        // display: -ms-flexbox;
        // display: -webkit-flex;
        // display: flex;
        // -webkit-box-pack: center;
        // -ms-flex-pack: center;
        // -webkit-justify-content: center;
        // justify-content: center;
        // -webkit-box-align: center;
        // -ms-flex-align: center;
        // -webkit-align-items: center;
        // align-items: center;

        h5 {
            font-size: .7467rem;
            margin: .5333rem 0;
            font-weight: 400;
            padding: 0 .2667rem;
        }

        p {
            font-size: .6933rem;
            color: #ff4400;
            padding: 0 .2667rem;
        }
    }

    .swiper-slide img {
        display: block;
        width: 100%;
        // height: 100%;
        object-fit: cover;
    }
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    // min-width: 320px;
    // max-width: 750px;
    // margin: 0 auto;
    height: 2.9333rem;
    width: 100%;
    z-index: 999;
    background-color: #fff;
    display: flex;
    padding-top: .5333rem;
    border-top: 1.0012px solid #ccc;

    .item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;

        img {
            width: 1.04rem;
            height: 1.0933rem;
        }

        p {
            font-size: .5867rem;
            color: #666;
            margin-top: .2667rem;
        }
    }
}